package com.stadium.vo;

import com.fasterxml.jackson.annotation.JsonFormat;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import org.hibernate.validator.constraints.Length;

import javax.validation.constraints.NotBlank;

import org.springframework.format.annotation.DateTimeFormat;

import java.util.Date;

/**
 * 球队详情
 *
 * @author wsl
 * @email
 * @date 2021-05-04 09:39:09
 */
@Data
@ApiModel(value = "球队详情Vo")
public class GameTeamVo {
    private static final long serialVersionUID = 1L;

    @Length(min = 0, max = 36)
    @ApiModelProperty(value = "id")
    private String id;

    @Length(min = 0, max = 36)
    @ApiModelProperty(value = "球队分类id category_id")
    private String categoryId;

    @Length(min = 0, max = 50)
    @ApiModelProperty(value = "球队编号")
    private String number;

    @Length(min = 0, max = 36)
    @ApiModelProperty(value = "球队管理者id")
    private String userId;

    @Length(min = 0, max = 50)
    @ApiModelProperty(value = "球队名称")
    private String name;

    @Length(min = 0, max = 500)
    @ApiModelProperty(value = "球队logo")
    private String logo;

    @Length(min = 0, max = 100)
    @ApiModelProperty(value = "活动区域")
    private String area;

    @ApiModelProperty(value = "备注")
    private String remark;

    @ApiModelProperty(value = "创建时间")
    @DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
    private Date createDate;

}
